package Event.daliy;

import Creature.Player;
import Engine.System1;
import Event.Story;

public class ChooseEating extends Story {

    public ChooseEating(Player player) {
        super(player);
        happenText = "今天要吃东西吗？不吃可是要挨饿的。";
        if(player.foods.isEmpty()){
            options = new String[]{ "硬抗"};
        }else {
            options = new String[]{"硬抗", "碳水嗯造"};
        }
    }

    @Override
    public void eventHappen(int option) {
        switch (option) {

            case 0:
                endText="你今天饿过去了。。。。";
                break;
            case 1:
                child=new Eat(player);
                break;
        }
    }
}
